package ec.edu.udla.fichamedica.domain;

import java.io.Serializable;

import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;


/**
 * @author Paul Cahue\u00F1as
 * @version 1.0
 * @created 27-jun-2010 15:48:40
 */
@javax.persistence.Entity
@Inheritance(strategy = InheritanceType.TABLE_PER_CLASS)
public class Patient extends Person implements Serializable {
	/*
	@OneToOne
	private MedicalRecord medicalRecord;

	@Basic
	private Set<Key> appointments;
*/


	public Patient(){

	}

	@Override
	public void finalize() throws Throwable {
		super.finalize();
	}
/*
	public MedicalRecord getMedicalRecord() {
		return medicalRecord;
	}

	public void setMedicalRecord(MedicalRecord medicalRecord) {
		this.medicalRecord = medicalRecord;
	}

/*	public Set<Key> getAppointments() {
		return appointments;
	}

	public void setAppointments(Set<Key> appointments) {
		this.appointments = appointments;
	}*/
}